package com.weiqiao.api.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

/**
 * @author ChenYF
 * @Description
 * @Date 2020/7/29 18:07
 */
@Data
public class AppUserLoginVO {
    @ApiModelProperty("公司id")
    @Min(value = 0, message = "公司id不能为空！")
    private int company_id;

    @ApiModelProperty("手机号码")
    @NotBlank(message = "手机号码不能为空！")
    private String phone;

    @ApiModelProperty("用户密码")
    @NotBlank(message = "用户密码不能为空！")
    private String password;

    @ApiModelProperty("登录设备系统 (0 Android 1 IOS)")
    private Integer device;

    @ApiModelProperty("登录设备名")
    private String device_name;

    @ApiModelProperty("登录ip地址")
    private String ip_address;

}
